package com.dave.gd.core.base.mapper;

import java.util.List;

import com.github.pagehelper.Page;

public interface BaseModelMapper<T> {
    
    public T queryById(long id);
    
    public int insert(T t);
    
    public void delete(T t);
    
    public int deleteById(long id);
    
    public int update(T t);
    
    public List<T> queryAll();
    
    public Page<T> queryPage();
    
    public Page<T> queryPage(T t);
}
